﻿using BCCommon.TMS.Order;
using BCEntity.TMS.Order.Order;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCEntity.TMS.Order.OrderCancelRecord
{
    /// <summary>
    /// 订单取消记录
    /// </summary>
    public class OrderCancelRecordEntity : OrderEntity
    {
        /// <summary>
        /// 订单取消记录Id
        /// </summary>
        public long OrderCancelRecordId { get; set; }
        /// <summary>
        /// 订单Id
        /// </summary>
        public new long OrderId { get; set; }
        /// <summary>
        /// 订单取消人
        /// </summary>
        public string CancelOrderPerson { get; set; }
        /// <summary>
        /// 订单取消原因
        /// </summary>
        public string CancelOrderPromising { get; set; }
        /// <summary>
        /// 取消状态
        /// </summary>
        public OrderValidationStatus CancelStatus { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public new DateTime CreateTime { get; set; }
        /// <summary>
        /// 审核备注
        /// </summary>
        public string ValidationRemark { get; set; }
        /// <summary>
        /// 管理员Id
        /// </summary>
        public long? AdminId { get; set; }
        /// <summary>
        /// 管理员姓名
        /// </summary>
        public string AdminFullName { get; set; }
        /// <summary>
        /// 订单取消事件
        /// </summary>
        public DateTime? CancelOrderTime { get; set; }
        /// <summary>
        /// 司机姓名
        /// </summary>
        public new string DriverName { get; set; }
        /// <summary>
        /// 司机姓名
        /// </summary>
        public new string DriverPhone { get; set; }
        /// <summary>
        /// 起始地
        /// </summary>
        public string FromAddress { get; set; }
        /// <summary>
        /// 目的地
        /// </summary>
        public string ToAddress { get; set; }
    }
}
